<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE html><html><head><meta content='' name='description'>
<meta charset='UTF-8'>
<meta content='True' name='HandheldFriendly'>
<meta content='width=device-width, initial-scale=1.0' name='viewport'>
<title>修改密码</title>
<jsp:include page="/public/header-meta.jsp"></jsp:include>
</head>
<body id="startbbs">
<jsp:include page="/public/header.jsp"></jsp:include>

<div id="wrap">
<div class="container" id="page-main">
<div class="row">
<div class='col-xs-12 col-sm-6 col-md-8'>

<div class='box'>
<div class='cell' style="border-bottom-style: none;">
<a href="" class="startbbs">${bbsUser.uname}</a> <span class="chevron">&nbsp;›&nbsp;</span> 设置
    <ul class="nav nav-tabs" style="margin-top:10px;">
    <li>
    <a href="user!setProfile?uid=${user.uid}">个人信息</a>
    </li>
    <li><a href="user!setAvatar?uid=${user.uid}">头像</a></li>
    <li class="active"><a href="#">修改密码</a></li>
    </ul>
</div>
<span id="msg" class="red">${msg}</span>
<div class='inner'>
<form accept-charset="UTF-8" action="user!confirmPsw" class="simple_form form-horizontal" id="edit_password" method="post" >
<div style="margin:0;padding:0;display:inline">
<input name="user.ustate" type="hidden" value="3" /></div>
<input type="hidden" name="uid" value="${list[0].uid}">
<strong class='fade'>如果你不想更改密码，请留空以下输入框。</strong>
<div class='sep5'></div>
<div class="form-group">
<label class="col-sm-3 control-label" for="user_current_password">当前密码</label>
<div class="col-sm-5">
<input class="form-control" id="user_current_password" name="upassword" size="50" type="password"  required autofocus />
<span class="error red"></span>
</div></div>
<div class="form-group">
<label class="col-sm-3 control-label" for="user_password">新密码</label>
<div class="col-sm-5">
<input class="form-control" id="user_password" name="newpsw" size="50" type="password"  required/>
<span class="error red"></span>
</div></div>
<div class="form-group">
<label class="col-sm-3 control-label" for="repsw">新密码确认</label>
<div class="col-sm-5">
<input class="form-control" id="user_password_confirmation" name="repsw" size="50" type="password"  required  />
<span class="error red"></span>
</div></div>
<div class='form-group'>
	<div class="col-sm-offset-3 col-sm-9">
		<button type="submit" id ="" class="btn btn-primary">修改密码</button>
	</div>
</div>
</form>

</div>
</div>

</div>
<div class='col-xs-12 col-sm-6 col-md-4' id='Rightbar'>

</div>
</div></div></div>
<jsp:include page="/public/footer.jsp"></jsp:include>